-
Notifications
You must be signed in to change notification settings - Fork 220
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
More informative chats' name and title for WhatsApp and Telegram (UFED parser) #2284
More informative chats' name and title for WhatsApp and Telegram (UFED parser) #2284
Conversation
Thank you @marcosammoura! Improving names and titles of chats handled by UFEDChatParser is an old idea! Wouldn't it be possible to remove the WhatsApp/Telegram restriction, applying the same rules when possible? I believe checking if each used metadata value is not null neither empty is enough. |
@lfcnassif, thank you for the feedback. I think your approach is a much better and generic solution. I will change the code. |
Great @marcosammoura! |
@lfcnassif and @aberenguel, I have improved the code. Now it's not only generic, but it also deals with WhatsApp and Telegram specifics. Regarding these two apps, different chat types are stored in UFED XML report according to the type of communication. On the other hand, as far as I could test, this isn't the case for Facebook, Facebook Messenger, and Intagram, for instance - concerning these apps, "Unknown" chat type is stored in UFED XML report, irrespective to type the communication. |
@lfcnassif and @aberenguel, the code was tested and now is ready and available in the latest commit. |
Thank you very much @marcosammoura for this improvement! Unfortunately I'm not sure when I'll have time to review this, but I'll try to do as soon as possible. |
@lfcnassif and @marcosammoura, I am starting to review this, ok? |
…rmative-chats-names-and-title
Two initial observations:
|
Sure, I agree! But keeping the new behavior/chat names later is important, regardless if we keep all code changes or part of them when resolving conflicts with @aberenguel's PR. |
Thanks for your observations, @wladimirleite, Names got really very long, so it would be great to use more concise/readable names. I am completely with you @lfcnassif that the most important now is to make sure @aberenguel's PR prevails, since it is a much broader solution that also tackles this issue. |
Hi @marcosammoura, actually I meant we ideally should keep the final behavior of this PR later after merging it, even if it means changing a bit @aberenguel' PR, to avoid changing behavior every release. |
While reviewing the changes, I am taking a look at @aberenguel's PR (the part that intersects with this PR). if I found something missing here and present there, regarding chat names, I will try to add to this PR, to avoid future changes. |
About the long names, item names after this PR changes look like this:
Although it is informative, it seems a bit too long (at least for me). My suggestions:
|
It is important to notice that #2286 will add/organize some metadata related to chats, so it will also be possible to apply filters or sort using these properties. |
@wladimirleite, with metadata and filters this solution will be great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcosammoura, I would appreciate it if you can make a quick test with the changes I made when you get some time.
Thank you once again for this PR!
@lfcnassif, as I mentioned before, I reduced the items' names, so they should be informative but not excessively long. This balance is subjective, so we could add back some of the information I removed, if necessary.
If we agree that names are fine, it should be ready for merging.
I included 3 additional minor related changes:
- Use localized string for the chat types used in item's name and preview title (Group, Status, Broadcast and Unknown);
- Use different backgrounds/top bar color for WhatsApp, Telegram and others (a new "generic" grayish background). Some users (including myself) found it a bit confusing to use WhatsApp background for other sources.
- "Favicon" (displayed only when the HTML is opened externally) wasn't working. I fixed it, and set different icons for WhatsApp, Telegram and other sources.
@wladimirleite, this set of improvements made things much better. Great job. |
Thank you @marcosammoura and @wladimirleite for your work on this! |
Currently, chats' names lack information concerning the user account they are related to.
Although this is a broad scenario concerning chat apps, the proposed solution targets are WhatsApp and Telegram chats processed using UFED parser.
I propose that chat's names include account info, which provides at least two benefits:
1 - it becomes easy to identify the account to which each chat is related.
2 - it allows for chats' grouping by account (via chat name sorting).
I do also propose that chat's names include its type (e.g., private, group, status, broadcast), which makes it easier to spot chats and to eventually draw conclusions about communications much faster
In addition, the proposed solution also provides a more informative title to the aforementioned chats using UFED parser, which currently is the chat id. The new title aligns with the proposed chats' naming scheme, highlighting the chat type and the corresponding identification (e.g., participant name, group name, brodcast name).