Skip to content

Commit

Permalink
Merge pull request #61 from linagora/TW-1702/hotfix_download_error_ha…
Browse files Browse the repository at this point in the history
…ndling

update room operator override to fit nullsafety requirements
  • Loading branch information
Te-Z authored Jun 3, 2024
2 parents 32d3a73 + 2b891ab commit 9ca42a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2130,7 +2130,7 @@ class Room {
: setSpaceChild(roomId, via: const []);

@override
bool operator ==(dynamic other) => (other is Room && other.id == id);
bool operator ==(Object other) => (other is Room && other.id == id);

@override
int get hashCode => Object.hashAll([id]);
Expand Down

0 comments on commit 9ca42a7

Please sign in to comment.