I try to listen events related to MXUser, like presence status. I used for this MXUser::listenToUserUpdate, but it doesn't work.
I spend a little time for investigation and found that mxUser.updateListeners is always nil, but must be, as minimum, empty muttable array.
ISSUE:
When MXUser initiated with initWithUserId: it works fine, but when initiated with initWithDecoder: we have a problem, because updateListeners is not initiated.
FIX:
Could you please fix it by adding following code in MXUser::initWithCoder in next version?
I try to listen events related to MXUser, like presence status. I used for this
MXUser::listenToUserUpdate
, but it doesn't work.I spend a little time for investigation and found that
mxUser.updateListeners
is alwaysnil
, but must be, as minimum, empty muttable array.ISSUE:
When
MXUser
initiated withinitWithUserId:
it works fine, but when initiated withinitWithDecoder:
we have a problem, becauseupdateListeners
is not initiated.FIX:
Could you please fix it by adding following code in
MXUser::initWithCoder
in next version?Thank you.