Commit e0bc90c9 authored by valtron's avatar valtron

fix

parent 21efc748
......@@ -57,8 +57,8 @@ class MSNPWriter:
dialect = self._sess_state.dialect
if dialect >= 13:
extra = (self._sess_state.front_specific.get('msn_capabilities') or 0,)
if dialect >= 18 and sess.pop_id and sess.state is not self._sess_state:
self._write(['JOI', '{};{}'.format(user.email, sess.pop_id), user.status.name, *extra])
if dialect >= 18 and sess.state.pop_id and sess.state is not self._sess_state:
self._write(['JOI', '{};{}'.format(user.email, sess.state.pop_id), user.status.name, *extra])
self._write(['JOI', user.email, user.status.name, *extra])
return
if isinstance(outgoing_event, event.ChatMessage):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment