IsEphemeralTopic checks if the topic is ephemeral, i.e. it's a reference to the user, it's not stored in the 'topics' table like 'me' or 'fnd' topics.
(topic string)
| 1393 | // IsEphemeralTopic checks if the topic is ephemeral, i.e. it's a reference to the user, |
| 1394 | // it's not stored in the 'topics' table like 'me' or 'fnd' topics. |
| 1395 | func IsEphemeralTopic(topic string) bool { |
| 1396 | cat := GetTopicCat(topic) |
| 1397 | return cat == TopicCatMe || cat == TopicCatFnd |
| 1398 | } |
| 1399 | |
| 1400 | // DeviceDef is the data provided by connected device. Used primarily for |
| 1401 | // push notifications. |
no test coverage detected
searching dependent graphs…