mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Remove unused variable MessageListFragment.mLastMessageId to prevent from confusing with mLastMessageId of the observer
This commit is contained in:
@@ -134,7 +134,6 @@ public class MessageListFragment extends QKFragment implements ActivityLauncher,
|
||||
// If the value >= 0, then we jump to that line. If the
|
||||
// value is maxint, then we jump to the end.
|
||||
|
||||
private long mLastMessageId;
|
||||
private BackgroundQueryHandler mBackgroundQueryHandler;
|
||||
|
||||
private long mThreadId;
|
||||
@@ -949,10 +948,6 @@ public class MessageListFragment extends QKFragment implements ActivityLauncher,
|
||||
mConversation.setMessageCount(0);
|
||||
// fall through
|
||||
case DELETE_MESSAGE_TOKEN:
|
||||
if (cookie instanceof Boolean && ((Boolean) cookie).booleanValue()) {
|
||||
// If we just deleted the last message, reset the saved id.
|
||||
mLastMessageId = 0;
|
||||
}
|
||||
|
||||
// Update the notification for new messages since they may be deleted.
|
||||
NotificationManager.update(mContext);
|
||||
|
||||
Reference in New Issue
Block a user