MCPcopy Create free account
hub / github.com/chanify/chanify / fixChannel

Method fixChannel

model/message.go:271–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269}
270
271func (m *Message) fixChannel() {
272 if len(m.Channel) <= 0 {
273 if m.isTimeline {
274 m.Channel = timelineChannel
275 } else {
276 m.Channel = defaultChannel
277 }
278 }
279}
280
281func parseActions(actions []string) []*pb.ActionItem {
282 if len(actions) <= 0 {

Callers 2

TestMessageChannelFunction · 0.95
EncryptDataMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestMessageChannelFunction · 0.76