mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
348 stars 37 forks source link

SMS shortcode rooms not using associated contact's display name / avatar. #125

Open ekallevig opened 11 months ago

ekallevig commented 11 months ago

Using contacts_mode: mac new conversations from shortcode numbers (5/6-digit numbers for SMS) are not retrieving the first name / last name / company name / avatar of the associated contact and setting it as the display name / photo for the room. That all works fine for full 10 digit phone numbers or email address senders. Tested this using both a "company" contact and also a first name / last name contact and in both circumstances, the display name used is just the shortcode number (ie. "45225").

Not sure if the contacts logic is looking for a particular format number/email address?