refactored, linted, formatted
This commit is contained in:
1 parent
5144a957e5
commit
7a9d7a5e5b
11 files changed
+247
-165
No files matched your search
@@ -52,5 +52,8 @@ func (ti *TootIngester) readFromInboundChannel() {
|
||||
|
||||
func (ti *TootIngester) storeToot(t *toot.Toot) {
|
||||
// FIXME first check for dupes in recentlySeen
|
||||
if ti.storageBackend == nil {
|
||||
panic("no storage backend")
|
||||
}
|
||||
ti.storageBackend.StoreToot(*t)
|
||||
}
|
||||
Reference in new issue
Block a user