Skip to content

Commit ab61fd3

Browse files
committed
Align docstrings
1 parent 3c93edb commit ab61fd3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/sync.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,21 +366,21 @@ func syncMembershipIn(userID, roomID, membership string, checks ...func(gjson.Re
366366
}
367367
}
368368

369-
// Checks that `userID` gets invited to `roomID`.
369+
// Checks that `userID` gets invited to `roomID`
370370
//
371371
// Additional checks can be passed to narrow down the check, all must pass.
372372
func SyncInvitedTo(userID, roomID string, checks ...func(gjson.Result) bool) SyncCheckOpt {
373373
return syncMembershipIn(userID, roomID, "invite", checks...)
374374
}
375375

376-
// Checks that `userID` has knocked on `roomID`.
376+
// Checks that `userID` has knocked on `roomID`
377377
//
378378
// Additional checks can be passed to narrow down the check, all must pass.
379379
func SyncKnockedOn(userID, roomID string, checks ...func(gjson.Result) bool) SyncCheckOpt {
380380
return syncMembershipIn(userID, roomID, "knock", checks...)
381381
}
382382

383-
// Check that `userID` gets joined to `roomID` by inspecting the join timeline for a membership event.
383+
// Check that `userID` gets joined to `roomID`
384384
//
385385
// Additional checks can be passed to narrow down the check, all must pass.
386386
func SyncJoinedTo(userID, roomID string, checks ...func(gjson.Result) bool) SyncCheckOpt {

0 commit comments

Comments
 (0)