~edwargix/msc-link-bot

3334a1e57d87eadcf41665a4f793fe78e1ea4704 — David Florness 3 years ago 73759e5
Include room ID in MSC info logs
1 files changed, 1 insertions(+), 1 deletions(-)

M main.go
M main.go => main.go +1 -1
@@ 135,7 135,7 @@ func getMsgResponse(client *mautrix.Client, evt *event.Event) *event.MessageEven
	mscs := getMSCs(content.Body)
	retBody := ""
	for i, msc := range mscs {
		log.Infof("MSC: %v %v\n", evt.ID, msc)
		log.Infof("MSC: %v/%v %v\n", evt.RoomID, evt.ID, msc)
		if i > 0 {
			retBody += "\n"
		}