Skip to content

Commit

Permalink
add an ability to read the items in the conversation info
Browse files Browse the repository at this point in the history
  • Loading branch information
lbk2907 committed Jun 23, 2022
1 parent c5a7464 commit ed84029
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon/appModules/whatsapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def event_NVDAObject_init(self, obj):
obj.name = obj.previous.name + obj.firstChild.children[1].name
elif obj.name == 'WhatsApp.Design.ThemeData':
obj.name = obj.children[1].name
if obj.name in ("WhatsApp.WaCollections.KeyedObservableCollection`2[WhatsApp.GroupItem,WhatsApp.RecipientItem]", "WhatsApp.RecipientItem", "WhatsApp.ReceiptViewModel",):
obj.name = ", ".join([m.name for m in obj.children])
if obj.name == 'WhatsApp.PeerStreamVm':
if obj.firstChild.children[1].name == 'Ringing...':
obj.name = obj.firstChild.children[0].name + ', ' + obj.firstChild.children[1].name
Expand Down

0 comments on commit ed84029

Please sign in to comment.