How to delete single sms in phosh?
#1
Hi!

I want to delete a single sms from chat history in phosh, not the whole chat history. How to do that?
IIRC phosh utilizes evolution for contacts and data.
  Reply
#2
Self-answer:

1) kill chatty
2) sqlite3 ~/.purple/chatty/db/chatty-history.db
3) find necessary thread_id:
select * from threads where name like "%username%" limit 10;
4) find target message(s):
select * from messages where thread_id is NUM and time >= SECONDS limit 20;
NUM from 3)
SECONDS is in date "+%s", e.g. for recent day.
5) delete necessary message(s):
delete from messages where id = ID;
ID is from 4) output
6) run chatty again (e.g. by running gui app)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pmos/phosh edge update and audio disappears robthebold 9 1,878 07-10-2022, 03:26 AM
Last Post: arkadione
  no screen rotation on pinephone pro with postmarketOS + phosh elode 2 1,219 07-03-2022, 09:13 AM
Last Post: a.h.littorin
  closing apps rather than leaving them running (phosh) lordearl 7 3,490 02-03-2022, 09:14 PM
Last Post: parry
  Application list PMOS-Phosh jmorris 6 3,593 12-04-2021, 02:26 AM
Last Post: Juergen
  Phosh beta 10, no send button on Chatty? Rainer 0 1,167 05-24-2021, 08:17 AM
Last Post: Rainer
  No camera app on PinePhone Postmarket Edition / Phosh Noah222 3 3,490 12-02-2020, 03:38 PM
Last Post: jmorris
  Phosh and Plasma together stozi 5 5,235 09-30-2020, 01:25 PM
Last Post: wibble
Bug Phosh Black Screen gotomech 8 5,341 06-16-2020, 02:40 AM
Last Post: davidbe
  pmos ( phosh really) 04/10 colin hodsdon 10 8,743 04-15-2020, 10:23 AM
Last Post: colin hodsdon
  wlr-randr PMOS + Phosh nieral 9 8,433 04-04-2020, 06:37 PM
Last Post: Zweitaktmotor

Forum Jump:


Users browsing this thread: 1 Guest(s)