Remove outdated TODO.

master
Denis Kasak 2020-06-30 15:33:38 +02:00
parent 9bd8699e18
commit 4561b94f33
1 changed files with 0 additions and 2 deletions

View File

@ -586,8 +586,6 @@ impl Room {
pub fn handle_membership(&mut self, event: &MemberEvent) -> bool { pub fn handle_membership(&mut self, event: &MemberEvent) -> bool {
use MembershipChange::*; use MembershipChange::*;
// TODO: This would not be handled correctly as all the MemberEvents have the `prev_content`
// inside of `unsigned` field.
match event.membership_change() { match event.membership_change() {
Invited | Joined => self.add_member(event), Invited | Joined => self.add_member(event),
Kicked | Banned | KickedAndBanned | InvitationRejected | Left => { Kicked | Banned | KickedAndBanned | InvitationRejected | Left => {