Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen for recipient changes in conversations and group updates. #4079

Closed
wants to merge 2 commits into from

Conversation

moxie0
Copy link
Contributor

@moxie0 moxie0 commented Sep 17, 2015

This breaks out conversation "updates" (currently just group change info) into a separate list item class. From there we'll be able to add other things (security indicators, call records, etc...).

It also resolves recipient contact info in the group update messages, and should fix the bug where recipient info sometimes doesn't resolve in conversations.

@moxie0 moxie0 added this to the 2.27.0 milestone Sep 17, 2015
long id = cursor.getLong(cursor.getColumnIndexOrThrow(SmsDatabase.ID));
String type = cursor.getString(cursor.getColumnIndexOrThrow(MmsSmsDatabase.TRANSPORT));
MessageRecord messageRecord = getMessageRecord(id, cursor, type);

item.set(masterSecret, messageRecord, locale, batchSelected, selectionClickListener,
groupThread, pushDestination);
if (view instanceof ConversationItem) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use getItemViewType() to determine the view type?

@moxie0
Copy link
Contributor Author

moxie0 commented Sep 17, 2015

updated

@moxie0 moxie0 closed this in 0794380 Sep 17, 2015
BLeQuerrec pushed a commit to SilenceIM/Silence that referenced this pull request Sep 21, 2015
BLeQuerrec pushed a commit to SilenceIM/Silence that referenced this pull request Oct 1, 2015
@ehrenkret-signal ehrenkret-signal deleted the moxie/conversation_updates branch January 27, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants