Skip to content

Commit

Permalink
Update internal/client/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: kegsay <kegsay@gmail.com>
  • Loading branch information
hughns and kegsay committed Mar 6, 2023
1 parent 49d0556 commit 4ff84ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ func (c *CSAPI) SetPushRule(t *testing.T, scope string, kind string, ruleID stri
// SendEventUnsynced sends `e` into the room.
// Returns the event ID of the sent event.
func (c *CSAPI) SendEventUnsynced(t *testing.T, roomID string, e b.Event) string {
t.Helper()
txnID := int(atomic.AddInt64(&c.txnID, 1))
return c.SendEventUnsyncedWithTxnID(t, roomID, e, txnID)
}
Expand Down

0 comments on commit 4ff84ab

Please sign in to comment.