Change channelAdmin to []int64 #4

Open
opened 2026-03-31 13:36:10 +02:00 by astra · 0 comments
Owner

Line 43 in b3e3775
channelAdmins map[int64]bool


Line 67 in b3e3775
channelAdmins: make(map[int64]bool),


h.channelAdmins[admin.User.ID] = true


return h.channelAdmins[userID]

https://git.zio.sh/astra/bsky2tg/src/commit/b3e37757a21dfda2f45c4f583ed553516d3780ca/main.go#L43 https://git.zio.sh/astra/bsky2tg/src/commit/b3e37757a21dfda2f45c4f583ed553516d3780ca/main.go#L67 https://git.zio.sh/astra/bsky2tg/src/commit/b3e37757a21dfda2f45c4f583ed553516d3780ca/bot_handler.go#L255 https://git.zio.sh/astra/bsky2tg/src/commit/b3e37757a21dfda2f45c4f583ed553516d3780ca/bot_handler.go#L266
astra self-assigned this 2026-03-31 13:36:25 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: astra/bsky2tg#4
No description provided.