minor fix

This commit is contained in:
Sahil Kumar
2021-01-22 16:36:55 +05:30
parent b292ab2a0e
commit 48d05720d9
2 changed files with 2 additions and 2 deletions
@@ -254,7 +254,7 @@ class Message {
/// Returns a new [Message] that is a combination of this message and the given
/// [other] message.
Message merge(Message other) {
if (other == null) return null;
if (other == null) return this;
return copyWith(
id: other.id,
text: other.text,