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

Fix typo messges -> messages #26093

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go/chat/boxer.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ func (b *Boxer) unboxV2orV3orV4(ctx context.Context, boxed chat1.MessageBoxed,
}
case types.UnboxModeQuick:
// we skip this check in quick mode, the idea is we will do it later asynchonously so we can
// deliver messges quicker to the UI.
// deliver messages quicker to the UI.
}

// Open header and verify against VerifyKey
Expand Down
2 changes: 1 addition & 1 deletion go/chat/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ func TestChatSrvGetThreadLocalMarkAsRead(t *testing.T) {
})
require.NoError(t, err)

expectedMessages := 4 // 3 messges and 1 TLF
expectedMessages := 4 // 3 messages and 1 TLF
require.Len(t, tv.Thread.Messages, expectedMessages,
"unexpected response from GetThreadLocal . number of messages")

Expand Down
2 changes: 1 addition & 1 deletion go/chat/uithreadloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ func (t *UIThreadLoader) LoadNonblock(ctx context.Context, chatUI libkb.ChatUI,
// only deliver these updates for the current conv
continue
}
// filter resolved to only update changed messges
// filter resolved to only update changed messages
var changed []chat1.MessageUnboxed
for _, rmsg := range resolved {
if modifiedMap[rmsg.GetMessageID()] {
Expand Down
4 changes: 2 additions & 2 deletions go/stellar/stellarsvc/anchor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func TestAnchorInteractor(t *testing.T) {
}
if res.MessageFromAnchor != nil {
if test.DepositMessage != *res.MessageFromAnchor {
t.Errorf("valid test %d [%s] deposit: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
t.Errorf("valid test %d [%s] deposit: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
}
}
}
Expand All @@ -298,7 +298,7 @@ func TestAnchorInteractor(t *testing.T) {
}
if res.MessageFromAnchor != nil {
if test.WithdrawMessage != *res.MessageFromAnchor {
t.Errorf("valid test %d [%s] withdraw: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
t.Errorf("valid test %d [%s] withdraw: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion shared/chat/conversation/messages/wrapper/wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const EditCancelRetry = React.memo(function EditCancelRetry(p: {ecrType: EditCan
const m = s.messageMap.get(ordinal)
const outboxID = m?.outboxID
const reason = m?.errorReason ?? ''
const failureDescription = `This messge failed to send${reason ? '. ' : ''}${capitalize(reason)}`
const failureDescription = `This message failed to send${reason ? '. ' : ''}${capitalize(reason)}`
return {failureDescription, outboxID}
})
)
Expand Down