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

Support for static RecipientDetails for certain shortcodes. #3813

Closed
wants to merge 1 commit into from

Conversation

moxie0
Copy link
Contributor

@moxie0 moxie0 commented Jul 27, 2015

// FREEBIE

@moxie0 moxie0 added this to the 2.25.0 milestone Jul 27, 2015
@@ -143,7 +151,8 @@ public RecipientDetails call() throws Exception {
cursor.close();
}

return new RecipientDetails(null, number, null, ContactPhotoFactory.getDefaultContactPhoto(null), color);
if (STATIC_DETAILS.containsKey(number)) return STATIC_DETAILS.get(number);
Copy link
Contributor

Choose a reason for hiding this comment

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

i feel like the user contact db should override whatever we hardcode

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it does

Copy link
Contributor

Choose a reason for hiding this comment

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

ah i misread, this is just what it fills in before resolving in the contacts db.

yeah this lgtm

moxie0 added a commit that referenced this pull request Jul 28, 2015
@moxie0
Copy link
Contributor Author

moxie0 commented Jul 28, 2015

in 2.24.0

@moxie0 moxie0 closed this Jul 28, 2015
moxie0 added a commit that referenced this pull request Jul 29, 2015
BLeQuerrec pushed a commit to SilenceIM/Silence that referenced this pull request Jul 31, 2015
Closes signalapp/Signal-Android#3813
// FREEBIE

Upstream commit: signalapp/Signal-Android@bbf33f8

Don't use Amazon asset; replaced by the default one.
@ehrenkret-signal ehrenkret-signal deleted the moxie/static_shortcodes 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