mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fix edit message date header showing wrong date.
This commit is contained in:
@@ -741,6 +741,17 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||
return originalMessageId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the timestamp of a message, shown in the conversation. This is used
|
||||
* for example when showing the conversation date separators.
|
||||
*/
|
||||
public long getConversationTimestamp() {
|
||||
if (isEditMessage()) {
|
||||
return getDateReceived();
|
||||
}
|
||||
return getDateSent();
|
||||
}
|
||||
|
||||
public int getRevisionNumber() {
|
||||
return revisionNumber;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user