You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you open Contact Details from a chat view, then block the contact, the button would change from Block Contact to Unblock Contact.
If you then go back to the contact's chat view, and reopen its contactDetails, the button will be reset to Block Contact
Note: there are no changes on the blocklist when that happens. Also, this problem doesn't happen if you access ContactDetails from the contactList, block contact, close it and open it again.
This bug seems to be related to the DataLayer method -(NSDictionary* _Nullable) contactDictionaryForUsername:(NSString*) username forAccount:(NSNumber*) accountID returning a blocked dictionary item that's not related to our blocklistCache database and that column should be removed from our buddylist table.
The method -(uint8_t) isBlockedContact:(MLContact*) contact should be the only source for the blocked state and is already used by MLContact method -(void) handleBlockListRefresh:(NSNotification*) notification.
The text was updated successfully, but these errors were encountered:
If you open Contact Details from a chat view, then block the contact, the button would change from
Block Contact
toUnblock Contact
.If you then go back to the contact's chat view, and reopen its contactDetails, the button will be reset to
Block Contact
Note: there are no changes on the blocklist when that happens. Also, this problem doesn't happen if you access ContactDetails from the contactList, block contact, close it and open it again.
This bug seems to be related to the
DataLayer
method-(NSDictionary* _Nullable) contactDictionaryForUsername:(NSString*) username forAccount:(NSNumber*) accountID
returning ablocked
dictionary item that's not related to ourblocklistCache
database and that column should be removed from ourbuddylist
table.The method
-(uint8_t) isBlockedContact:(MLContact*) contact
should be the only source for the blocked state and is already used byMLContact
method-(void) handleBlockListRefresh:(NSNotification*) notification
.The text was updated successfully, but these errors were encountered: