Fix left pane summary for gift badges

This commit is contained in:
Scott Nonnenberg 2022-05-25 12:39:31 -07:00 committed by GitHub
parent fcc60202c2
commit e281fbe0e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -770,7 +770,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
if (giftBadge) {
const emoji = '🎁';
if (isIncoming(this.attributes)) {
if (isOutgoing(this.attributes)) {
return {
emoji,
text: window.i18n('message--giftBadge--preview--sent'),