mirror of
https://github.com/absadiki/whatsapp-msgstore-viewer.git
synced 2026-04-27 12:55:57 +03:00
[PR #10] [MERGED] Handle None display names in get_contact_chats to prevent KeyError #24
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whatsapp-msgstore-viewer#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/absadiki/whatsapp-msgstore-viewer/pull/10
Author: @lamzib-salaheddine
Created: 4/2/2025
Status: ✅ Merged
Merged: 4/3/2025
Merged by: @absadiki
Base:
main← Head:bugfix/contact-display-name-none📝 Commits (1)
d372ce9Handle None display names in get_contact_chats to prevent KeyError📊 Changes
1 file changed (+9 additions, -7 deletions)
View changed files
📝
Model/main_screen.py(+9 -7)📄 Description
Resolved an issue in the get_contact_chats function where a KeyError would occur if a contact's display name was None. The function now includes a check to handle None values gracefully, ensuring that the application does not crash when encountering contacts without display names.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.