Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 42wim/matterircd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 38172e0aaea2dc6c4f0055cef027a229c34d1466
Choose a base ref
..
head repository: 42wim/matterircd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9dab9889e306bc76e0f54c09a421528b6023765f
Choose a head ref
Showing with 4 additions and 3 deletions.
  1. +4 −3 mm-go-irckit/userbridge.go
7 changes: 4 additions & 3 deletions mm-go-irckit/userbridge.go
Original file line number Diff line number Diff line change
@@ -145,11 +145,12 @@ func (u *User) handleDirectMessageEvent(event *bridge.DirectMessageEvent) {
}
}

text := ""
var text string
var showContext bool
var maxlen int

prefix := ""
suffix := ""
showContext := false
maxlen := 440
if event.Event == "dm_topic" {
text = event.Text
showContext = false