Skip to content

Commit

Permalink
fix for lint (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronaaron authored Mar 31, 2024
1 parent 92dcbd4 commit cf9e0dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ func (portal *Portal) markRead(intent *appservice.IntentAPI, eventID id.EventID,
return nil
}


var extra CustomReadReceipt
if intent == portal.bridge.user.DoublePuppetIntent {
extra.DoublePuppetSource = portal.bridge.Name
Expand Down Expand Up @@ -2134,7 +2133,7 @@ func (portal *Portal) HandleiMessage(msg *imessage.Message) id.EventID {

// If the message exists in the database, handle edits or retractions
if dbMessage != nil && dbMessage.MXID != "" {
// DEVNOTE: It seems sometimes the message is just edited to remove data instead of actually retracting it
// DEVNOTE: It seems sometimes the message is just edited to remove data instead of actually retracting it

if msg.IsRetracted ||
(len(msg.Attachments) == 0 && len(msg.Text) == 0 && len(msg.Subject) == 0) {
Expand Down

0 comments on commit cf9e0dc

Please sign in to comment.