Add support for fine-grained presence state#331
Open
simcrack wants to merge 3 commits intoLubosD:masterfrom
Open
Add support for fine-grained presence state#331simcrack wants to merge 3 commits intoLubosD:masterfrom
simcrack wants to merge 3 commits intoLubosD:masterfrom
Conversation
Swyx offers more buddy states than standard SIP (e.g. AFK, on the phone, busy, ...). This commit allows Twinkle to parse these vendor-specific states and makes them available as "user_state" throughout the application. The states are used to render the buddy list (you can now see if one of your buddies is on the phone).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some SIP servers like SwyxWare Server support additional presence states like AFK or Busy.
With my changes, Twinkle is able to parse and display these states.
I added a parser for SwyxWare, but it should be easy to add additional SIP presence flavors.