Commit 3920c531 authored by tristanleboss's avatar tristanleboss Committed by valtron

Update misc.py - Fix ILN/NLN for MSNP18

parent 073ca90e
......@@ -46,7 +46,10 @@ def build_msnp_presence_notif(trid, ctc, dialect, backend):
if dialect >= 9:
rst.append(encode_msnobj(ctc_sess.state.msnobj or '<msnobj/>'))
yield (*frst, status.substatus.name, head.email, networkid, status.name, *rst)
if dialect >= 18:
yield (*frst, status.substatus.name, encode_email_networkid(head.email, networkid), status.name, *rst)
else:
yield (*frst, status.substatus.name, head.email, networkid, status.name, *rst)
if dialect < 11:
return
......
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