Skip to content

Commit

Permalink
bridgev2/networkid: update receiver docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 14, 2024
1 parent d89dac5 commit cb4204c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bridgev2/networkid/bridgeid.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ type PortalID string
// It is also permitted to use a non-empty receiver for group chats if there is a good reason to
// segregate them. For example, Telegram's non-supergroups have user-scoped message IDs instead
// of chat-scoped IDs, which is easier to manage with segregated rooms.
//
// As a special case, Receiver MUST be set if the Bridge.Config.SplitPortals flag is set to true.
// The flag is intended for puppeting-only bridges which want multiple logins to create separate portals for each user.
type PortalKey struct {
ID PortalID
Receiver UserLoginID
Expand Down

0 comments on commit cb4204c

Please sign in to comment.