-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Description
imsg typing fails with "Chat not found" when the chat.db uses any;-; prefix instead of iMessage;-; in the chat identifier/guid.
Steps to Reproduce
- Have a chat where the DB stores
any;-;+phonenumberas the guid (common on Apple Silicon Macs) - Run:
imsg typing --to +phonenumber --duration 3s - Also fails with:
imsg typing --chat-id 2 --duration 3s
Expected
Typing indicator should work regardless of the service prefix in the chat identifier.
Actual
typingIndicatorFailed("Chat not found for identifier: iMessage;-;+971565061013. Make sure Messages.app has an active conversation with this contact.")
Investigation
The DB has:
SELECT ROWID, chat_identifier, guid FROM chat;
-- 2|+971565061013|any;-;+971565061013|iMessageBut the typing command constructs iMessage;-;+971565061013 when looking up the chat in IMCore. AppleScript confirms the chat exists as any;-;+971565061013.
Note: imsg react works fine on the same chat (uses different lookup mechanism).
Environment
- imsg v0.5.0
- macOS 15.3 (Sequoia) arm64
- Messages.app running with active conversation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels