Skip to content

Commit

Permalink
6.4.0rc1 (#1076)
Browse files Browse the repository at this point in the history
- Fix unread message counting bugs
  • Loading branch information
tmolitor-stud-tu authored Jun 9, 2024
2 parents 32e7775 + a48fdf6 commit 0d25fd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Monal/Classes/MLContact.m
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,10 @@ +(MLContact*) createContactFromJid:(NSString*) jid andAccountNo:(NSNumber*) acco
-(instancetype) init
{
self = [super init];
// watch for changes in lastInteractionTime and update dynamically
//watch for all sorts of changes and update our singleton dynamically
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleLastInteractionTimeUpdate:) name:kMonalLastInteractionUpdatedNotice object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleBlockListRefresh:) name:kMonalBlockListRefresh object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refresh) name:kMonalRefresh object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleContactRefresh:) name:kMonalContactRefresh object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleContactRefresh:) name:kMonalContactRemoved object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleMucSubjectChange:) name:kMonalMucSubjectChanged object:nil];
Expand Down

0 comments on commit 0d25fd3

Please sign in to comment.