1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Display text messages

This commit is contained in:
2019-04-26 08:58:18 +02:00
parent 05f7396c98
commit 051654d7d5
4 changed files with 106 additions and 2 deletions

View File

@ -22,6 +22,8 @@ class ConversationMessage implements Comparable {
assert(timeInsert != null),
assert(message != null);
DateTime get date => DateTime.fromMillisecondsSinceEpoch(timeInsert * 1000);
@override
int compareTo(other) {
return id.compareTo(other.id);