forked from upstream-mirrors/quik
Sent timestamps for incoming messages only
This commit is contained in:
@@ -160,7 +160,7 @@ public class MessageItem {
|
|||||||
// Unless the message is currently in the progress of being sent, it gets a time stamp.
|
// Unless the message is currently in the progress of being sent, it gets a time stamp.
|
||||||
if (!isOutgoingMessage()) {
|
if (!isOutgoingMessage()) {
|
||||||
// Set "received" or "sent" time stamp
|
// Set "received" or "sent" time stamp
|
||||||
boolean sent = prefs.getBoolean(QKPreference.SENT_TIMESTAMPS.getKey(), false);
|
boolean sent = prefs.getBoolean(QKPreference.SENT_TIMESTAMPS.getKey(), false) && !isMe();
|
||||||
mDate = cursor.getLong(sent ? columnsMap.mColumnSmsDateSent : columnsMap.mColumnSmsDate);
|
mDate = cursor.getLong(sent ? columnsMap.mColumnSmsDateSent : columnsMap.mColumnSmsDate);
|
||||||
mTimestamp = DateFormatter.getMessageTimestamp(context, mDate);
|
mTimestamp = DateFormatter.getMessageTimestamp(context, mDate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user