summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp
index 8f4b3bf..cffd012 100644
--- a/lib/CommLayer/CommLayerServerDBus.cpp
+++ b/lib/CommLayer/CommLayerServerDBus.cpp
@@ -47,9 +47,10 @@ map_crash_report_t CCommLayerServerDBus::CreateReport(const std::string &pUUID,c
return crashReport;
}
-bool CCommLayerServerDBus::Report(map_crash_report_t pReport)
+bool CCommLayerServerDBus::Report(map_crash_report_t pReport,const std::string &pSender)
{
- m_pObserver->Report(pReport);
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
+ m_pObserver->Report(pReport, to_string(unix_uid));
return true;
}