mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Update viber.py
Added the coalesce sqlite function to the sql statement, this function will return the first column included in it that does not contain a null value.
This commit is contained in:
parent
8949600257
commit
bd5f846d24
@ -268,8 +268,8 @@ class ViberContactsParser(TskContactsParser):
|
||||
def __init__(self, contact_db):
|
||||
super(ViberContactsParser, self).__init__(contact_db.runQuery(
|
||||
"""
|
||||
SELECT C.display_name AS name,
|
||||
D.data2 AS number
|
||||
SELECT C.display_name AS name,
|
||||
coalesce(D.data2, D.data1, D.data3) AS number
|
||||
FROM phonebookcontact AS C
|
||||
JOIN phonebookdata AS D
|
||||
ON C._id = D.contact_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user