Commit 477cf3c
committed
fix: support manage_topics admin right in promote/demote/edit_admin_rights (#6)
promote_admin builds ChatAdminRights from a fixed dict that silently
dropped manage_topics — granting topic rights via MCP was impossible
(bots promoted this way could not create forum topics).
Extracted from chigwell#126.1 parent 160a812 commit 477cf3c
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
490 | 491 | | |
491 | 492 | | |
492 | 493 | | |
| |||
501 | 502 | | |
502 | 503 | | |
503 | 504 | | |
| 505 | + | |
504 | 506 | | |
505 | 507 | | |
506 | 508 | | |
| |||
560 | 562 | | |
561 | 563 | | |
562 | 564 | | |
| 565 | + | |
563 | 566 | | |
564 | 567 | | |
565 | 568 | | |
| |||
839 | 842 | | |
840 | 843 | | |
841 | 844 | | |
| 845 | + | |
842 | 846 | | |
843 | 847 | | |
844 | 848 | | |
| |||
863 | 867 | | |
864 | 868 | | |
865 | 869 | | |
| 870 | + | |
866 | 871 | | |
867 | 872 | | |
868 | 873 | | |
| |||
881 | 886 | | |
882 | 887 | | |
883 | 888 | | |
| 889 | + | |
884 | 890 | | |
885 | 891 | | |
886 | 892 | | |
| |||
0 commit comments