Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I restrict the ability to reply to the MOTD #20

Open
emmanuelfarrar opened this issue May 29, 2024 · 4 comments
Open

How do I restrict the ability to reply to the MOTD #20

emmanuelfarrar opened this issue May 29, 2024 · 4 comments

Comments

@emmanuelfarrar
Copy link

Today I noticed that a user can reply to the MOTD and this in turn broadcast to all users that I have on my Openfire server. Is there a way to restrict replying to this or we can know what user is MOTD using to send this broadcast?

@akrherz
Copy link
Member

akrherz commented May 29, 2024

Are you positive this came back to all users or just the server's admins?

@guusdk
Copy link
Member

guusdk commented May 29, 2024

I would assume that akrherz is correct: a response should be sent only the the users that are an administrator of the server.

You can override this behavior by setting a list of addresses of users that you want to receive these messages using the system property named xmpp.forward.admins (note that this will be used for all messages that are addressed to the server itself, not just for replies to MOTD broadcasts).

@emmanuelfarrar
Copy link
Author

Are you positive this came back to all users or just the server's admins?

This seems to be any users. I have verified in Openfire that the users that have broadcasted are not admins. It seems they just reply in the MOTD chat and it broadcast to all users as its own chat from the user that replied.

@emmanuelfarrar
Copy link
Author

I would assume that akrherz is correct: a response should be sent only the the users that are an administrator of the server.

You can override this behavior by setting a list of addresses of users that you want to receive these messages using the system property named xmpp.forward.admins (note that this will be used for all messages that are addressed to the server itself, not just for replies to MOTD broadcasts).

Thank you for your reply, but I am not sure this will give me the result I am looking for. I would prefer to either void the ability to reply to the MOTD chat or control the replies to this chat and make it so either only the accoun that generates the MOTD is the only one that can broadcast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants