Allow null image_path
This commit is contained in:
parent
8553a7cd86
commit
198bce4a84
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue