Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Siri Intent handler returns success on failure #4860

Open
kloenk opened this issue Sep 17, 2021 · 0 comments
Open

Siri Intent handler returns success on failure #4860

kloenk opened this issue Sep 17, 2021 · 0 comments
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@kloenk
Copy link
Contributor

kloenk commented Sep 17, 2021

Steps to reproduce

Inject a direct INSendMessageIntent into the IntentHandler.m handleSendMessage function

This is the intent injected for my case:

Printing description of intent:
{
    conversationIdentifier = <null>;
    content = Issue;
    sender = <null>;
    outgoingMessageType = outgoingMessageText;
    recipients = (
        <INPerson: 0x107a05e70> {
            displayName = Kirstie Little;
            contactIdentifier = <null>;
            nameComponents = <null>;
            image = <null>;
            customIdentifier = @kirstie_little:petabyte.dev;
            relationship = <null>;
            siriMatches = <null>;
            personHandle = <INPersonHandle: 0x107a1dae0> {
                value = @kirstie_little:petabyte.dev;
                type = Unknown;
                label = <null>;
            };
        },
    );
    speakableGroupName = <null>;
    attachments = <null>;
    serviceName = <null>;
}

What happened?

What did you expect?

The message get's send, or the handler returns a failure to the caller.

What happened?

The UI returns success, but no message was send.

Your phone model

Iphone 12

Operating system version

15.0 (19A344)

Application version

8510027-dirty

Homeserver

matrix.org

Have you submitted a rageshake?

No

@kloenk kloenk added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

1 participant