Description: Remove obsolete slixmpp 'process' usage
 The slixmpp library has removed 'process' method since 1.9.0.
Author: Gerald Turner <gturner@unzane.com>
Bug-Debian: https://bugs.debian.org/1109729
Last-Update: 2025-07-22

--- painintheapt-0.20220226.orig/painintheapt
+++ painintheapt-0.20220226/painintheapt
@@ -5,6 +5,7 @@
 
 # Python standard modules
 import argparse
+import asyncio
 import collections
 import configparser
 import email.mime.text
@@ -251,7 +252,7 @@ def sendxmpp(config, config_dir, table,
     xmpp.register_plugin("xep_0199")  # XMPP ping
 
     xmpp.connect()
-    xmpp.process(forever=False)
+    asyncio.get_event_loop().run_until_complete(xmpp.disconnected)
 
 
 def sendsmtp(config, config_dir, table, count, host, debug, changes):
