From 7ad2103f8f2c9b7e3d12554634a68db973a05b36 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 5 Apr 2019 23:44:17 +0300 Subject: Move history storage to matrix package. Fixes #90 --- interface/ui.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'interface/ui.go') diff --git a/interface/ui.go b/interface/ui.go index 9091e36..df9d959 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -46,7 +46,6 @@ type MainView interface { AddRoom(room *rooms.Room) RemoveRoom(room *rooms.Room) SetRooms(rooms map[string]*rooms.Room) - SaveAllHistory() UpdateTags(room *rooms.Room) @@ -67,8 +66,6 @@ const ( type RoomView interface { MxRoom() *rooms.Room - SaveHistory(dir string) error - LoadHistory(matrix MatrixContainer, dir string) (int, error) SetCompletions(completions []string) SetTyping(users []string) -- cgit v1.2.3