Skip to content

Welcome message originator and raw welcome xmpp message#12

Closed
nsobadzhiev wants to merge 5689 commits into
igniterealtime:masterfrom
nsobadzhiev:raw-welcome-message
Closed

Welcome message originator and raw welcome xmpp message#12
nsobadzhiev wants to merge 5689 commits into
igniterealtime:masterfrom
nsobadzhiev:raw-welcome-message

Conversation

@nsobadzhiev

Copy link
Copy Markdown

Introduction

In some use cases, it might be necessary to send a welcome message not from the server itself, but on behalf of a particular user. For instance, so people can respond to the welcome message and also see it as if a real account sent it to them (more personal).

Additionally, the plugin assumes that the welcome XMPP message's title will always be the same and that having some nice text in the body is enough. However, the message might have proprietary attributes and child elements. For that reason, I added an additional text field for adding a raw XML representation of the message to send.

The raw message XML takes precedence over the simple, textual one.

If there's no message originator set, the server address is used by default.

Loading
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

Successfully merging this pull request may close these issues.