From 38de251d9f2fc40e316ca95cbb7f5be4f204bb1d Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Tue, 13 Oct 2020 17:33:26 +0200 Subject: [PATCH] Add receipt struct --- roomserver/types/types.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roomserver/types/types.go b/roomserver/types/types.go index c0fcef65e..93fe17906 100644 --- a/roomserver/types/types.go +++ b/roomserver/types/types.go @@ -176,3 +176,12 @@ type RoomInfo struct { StateSnapshotNID StateSnapshotNID IsStub bool } + +type Receipt struct { + ID int + RoomID string + Type string + UserID string + EventID string + TS int +}