Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit e8085a9

Browse files
Eric EastwoodEric Eastwood
authored andcommitted

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clientapi/routing/sendevent.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func SendEvent(
5252
rsAPI api.RoomserverInternalAPI,
5353
txnCache *transactions.Cache,
5454
) util.JSONResponse {
55+
prevEvent := req.URL.Query().Get("prev_event")
56+
57+
util.GetLogger(req.Context()).WithFields(logrus.Fields{
58+
"prevEvent": prevEvent,
59+
}).Info("prevEvent")
60+
5561
verReq := api.QueryRoomVersionForRoomRequest{RoomID: roomID}
5662
verRes := api.QueryRoomVersionForRoomResponse{}
5763
if err := rsAPI.QueryRoomVersionForRoom(req.Context(), &verReq, &verRes); err != nil {

0 commit comments

Comments
 (0)