Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Added new event "candy:core:chat:message:other". #236

Merged
merged 1 commit into from
Mar 5, 2014
Merged

Added new event "candy:core:chat:message:other". #236

merged 1 commit into from
Mar 5, 2014

Conversation

joshuah
Copy link
Contributor

@joshuah joshuah commented Mar 5, 2014

Adds a new event candy:core:chat:message:other when messages arrive without a type attribute. This is useful to allow plugins that can detect MUC invites from other clients such as Spark.

http://xmpp.org/extensions/xep-0045.html#invite

Hope I did this right this time...

…abber.Message that is triggered when messaged are received without the type attribute.
@mweibel
Copy link
Member

mweibel commented Mar 5, 2014

Looks good, thanks!

mweibel added a commit that referenced this pull request Mar 5, 2014
Added new event "candy:core:chat:message:other".
@mweibel mweibel merged commit 2b04956 into candy-chat:dev Mar 5, 2014
@joshuah
Copy link
Contributor Author

joshuah commented Mar 6, 2014

Here was a plugin I was able to write because of this change. It Spark chat users invite users into their already created rooms with or without Candy user interactions.

https://github.com/joshuah/candyland/tree/master/spark-room-invites

@mweibel
Copy link
Member

mweibel commented Mar 7, 2014

Neat :) Do you want to publish it to candy-plugins?

@mweibel
Copy link
Member

mweibel commented Mar 7, 2014

Maybe first to the dev branch as well, until there's a newer version.

@joshuah
Copy link
Contributor Author

joshuah commented Mar 7, 2014

I will run it in production for a few weeks little first.

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

Successfully merging this pull request may close these issues.

2 participants