backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

add default profile and logging, idk why it didn't work

rachel-mp4 ef88444c f3c8856a

+4 -1
+2 -1
migrations/002_populate.up.sql
··· 1 1 INSERT INTO profiles (did, display_name, default_nick, status, avatar_cid, avatar_mime, color) 2 2 VALUES 3 3 ('did:example:alice', 'Alice Example', 'alice', 'Chilling', 'bafybeib6...', 'image/png', 16711680), 4 - ('did:example:bob', 'Bob Example', 'bobby', 'Working hard', 'bafybeib7...', 'image/jpeg', 65280); 4 + ('did:example:bob', 'Bob Example', 'bobby', 'Working hard', 'bafybeib7...', 'image/jpeg', 65280), 5 + ('did:plc:mqt7hthieqzpa3mwqwggbqei', 'xcvr', 'wanderer', 'hi', '', '', 3702605); 5 6 6 7 INSERT INTO profile_records(uri, profile_did, cid) 7 8 VALUES
+2
server/internal/model/channelLexiconStream.go
··· 136 136 m.logger.Deprintln("broadcasting!") 137 137 lsm := m.uriMap[uri] 138 138 if lsm == nil { 139 + m.logger.Deprintln("failed to map uri to lsm!") 139 140 return 140 141 } 141 142 pv, err := m.store.GetProfileView(msg.DID, context.Background()) 142 143 if err != nil { 144 + m.logger.Deprintln("failed to get profile view: " + err.Error()) 143 145 return 144 146 } 145 147 mv := types.MessageView{