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

assertion triggered after upgrading to ejabberd 17.x #21

Closed
darix opened this issue Jul 11, 2017 · 3 comments
Closed

assertion triggered after upgrading to ejabberd 17.x #21

darix opened this issue Jul 11, 2017 · 3 comments

Comments

@darix
Copy link

darix commented Jul 11, 2017

The subscription attribute can be optional if no subscription exists according to processone/ejabberd#1590 .

it seems the assert should be changed to a normal if then?

https://github.com/cdidier/irssi-xmpp/blob/master/src/core/rosters.c#L276

@cdidier
Copy link
Owner

cdidier commented Jul 11, 2017

The first "if (..." should be changed to "if (subscription == NULL || .." to set the subscription to NONE.

@darix
Copy link
Author

darix commented Jul 11, 2017 via email

@cdidier
Copy link
Owner

cdidier commented Oct 9, 2017

Fixed with 2c55602.

@cdidier cdidier closed this as completed Oct 9, 2017
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

2 participants