Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 3cdeacd175a61f793b8083d471e08f55a44b41ac Author: Joseph Crowell <joseph.w.crowell@gmail.com> Date: Mon Dec 15 13:04:44 2025 +0000 matrix: mark the message handlers so I stop forgetting which is which diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go index 0f6aa8e..644e3a3 100644 --- a/bridge/matrix/matrix.go +++ b/bridge/matrix/matrix.go @@ -2307 +2307 @@ func (b *Bmatrix) JoinChannel(channel config.ChannelInfo) error {   })  }   -// Send outgoing messages from Matrix to other platforms +// Incoming messages from other bridges  func (b *Bmatrix) Send(msg config.Message) (string, error) {   b.Log.Debugf("=> Receiving %#v", msg)   @@ -6666 +6667 @@ func (b *Bmatrix) handleRedactionEvent(ctx context.Context, ev *event.Event) {   }  }   +// Outgoing messages to other bridges  //nolint:funlen // This function is necessarily long because it is an event handler  func (b *Bmatrix) handleMessageEvent(ctx context.Context, ev *event.Event) {   b.Log.Debugf("== Receiving message event: %#v", ev)