Allow null image_path

This commit is contained in:
LAGonauta 2020-10-25 11:46:11 -03:00
parent 8553a7cd86
commit 198bce4a84

View file

@ -40,7 +40,7 @@ namespace Dino.Plugins.WindowsNotification {
} }
} }
public bool show_message(string sender, string message, string image_path, int conv_id, void* class_obj, NotificationCallback callback) { public bool show_message(string sender, string message, string? image_path, int conv_id, void* class_obj, NotificationCallback callback) {
if (valid && library_show_message != null) { if (valid && library_show_message != null) {
return library_show_message(sender, message, image_path, conv_id, class_obj, callback) == 0; return library_show_message(sender, message, image_path, conv_id, class_obj, callback) == 0;
} }