summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index f0663b8b..42d6e56d 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -279,7 +279,7 @@ class UI(object):
# call post_buffer_open hook
posthook = settings.get_hook('post_buffer_open')
if posthook is not None:
- posthook(ui=self, dbm=self.dbman)
+ posthook(ui=self, dbm=self.dbman, buf=buf)
def buffer_close(self, buf):
"""