(ctx context.Context, inviter, invitee string)
| 924 | } |
| 925 | |
| 926 | func (a *UserInternalAPI) JudgeShouldAutoJoin(ctx context.Context, inviter, invitee string) (bool, error) { |
| 927 | |
| 928 | // 1,limit_mode fee() | any() | list()) |
| 929 | inviterLocal, _, err := gomatrixserverlib.SplitID('@', inviter) |
| 930 | if err != nil { |
| 931 | return false, err |
| 932 | } |
| 933 | inviteeLocal, _, err := gomatrixserverlib.SplitID('@', invitee) |
| 934 | if err != nil { |
| 935 | return false, err |
| 936 | } |
| 937 | return new_feature.JudgeShouldAutoJoin(inviterLocal, inviteeLocal) |
| 938 | } |
| 939 | |
| 940 | const pushRulesAccountDataType = "m.push_rules" |
nothing calls this directly
no test coverage detected